package cn.scw.project.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户消费记录对象 sys_user_expend
 *
 * @author api
 * @date 2020-05-20
 */
@Data
@ApiModel("用户消费记录")
public class SysUserExpendVo {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("消费类型（押金，充值，续租）")
    private String type;

    @ApiModelProperty("消费类型（押金，充值，续租）")
    private String typeValue;

    @ApiModelProperty("商品id")
    private String commodityId;

    @ApiModelProperty("金额")
    private Long money;

    @ApiModelProperty("创建时间")
    private Date createDate;

    @ApiModelProperty(value = "是否支付", hidden = true)
    private boolean isPay = true;
}
